Mac配置React |
您所在的位置:网站首页 › react 配置override copy › Mac配置React |
Mac配置React-Native开发环境 ![]() 2018-01-08 关注 关注 安装相关软件Homebrew/// Homebrew用来安装mac上面软件工具 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Nodebrew install node 注意:安装完node如果用npm安装其他包时进度缓慢可以设置npm镜像: npm config set registry https://registry.npm.taobao.org --global npm config set disturl https://npm.taobao.org/dist --globalReact-Native集成环境sudo npm install -g react-native-cli Xcode:运行iOS去app Store下载即可 Android Studio:运行android下载地址:www.android-studio.org 可选安装Watchman监控文件变化 brew install watchmanFlow静态的JS类型检查工具(实际开发基本可以忽略) brew install flowReact开发工具选择Atom作为开发React-native编辑器 Atom下载地址: atom.io React调式工具调式工具我们用Facebook开发的:Nuclide Nuclide是由Facebook提供的基于atom的集成开发环境,可用于编写、运行和 调试React Native应用,打开Atom Setting界面: ![]() 个人网站: www.wuhaichao.com github: https://github/netyouli react mac homebrew install |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |